#include "widget.h"


Widget::Widget(QWidget *parent)
    : QWidget(parent)
{
    QPushButton* qp=new QPushButton("close window",this);
    connect(qp,&QPushButton::clicked,this,&QWidget::close);
}

Widget::~Widget()
{
    delete ui;
}

